package com.indexingsystem.boss.Vo;

import java.io.Serializable;

public class AddCenterPriceReqVo implements Serializable {

	/**
	 * 
	 */
	private static final long	serialVersionUID	= -2767918188460126919L;

	private String				centerId;
	private String				centerName;
	private String				resCategoryId;
	private String				resCategoryName;
	private Integer				isContinuous;

	private Integer				mirrorSaleType;
	private String				mirrorSalePrice;
	private Integer				cloudSaleType;
	private String				cloudSalePrice;
	private Integer				year;
	private String				userId;
	private String				userName;
	private String				result;
	private Integer				belongLibrary;

	public String getCenterId() {
		return centerId;
	}

	public void setCenterId(String centerId) {
		this.centerId = centerId;
	}

	public String getCenterName() {
		return centerName;
	}

	public void setCenterName(String centerName) {
		this.centerName = centerName;
	}

	public String getResCategoryId() {
		return resCategoryId;
	}

	public void setResCategoryId(String resCategoryId) {
		this.resCategoryId = resCategoryId;
	}

	public String getResCategoryName() {
		return resCategoryName;
	}

	public void setResCategoryName(String resCategoryName) {
		this.resCategoryName = resCategoryName;
	}

	public Integer getIsContinuous() {
		return isContinuous;
	}

	public void setIsContinuous(Integer isContinuous) {
		this.isContinuous = isContinuous;
	}

	public Integer getMirrorSaleType() {
		return mirrorSaleType;
	}

	public void setMirrorSaleType(Integer mirrorSaleType) {
		this.mirrorSaleType = mirrorSaleType;
	}

	public String getMirrorSalePrice() {
		return mirrorSalePrice;
	}

	public void setMirrorSalePrice(String mirrorSalePrice) {
		this.mirrorSalePrice = mirrorSalePrice;
	}

	public Integer getCloudSaleType() {
		return cloudSaleType;
	}

	public void setCloudSaleType(Integer cloudSaleType) {
		this.cloudSaleType = cloudSaleType;
	}

	public String getCloudSalePrice() {
		return cloudSalePrice;
	}

	public void setCloudSalePrice(String cloudSalePrice) {
		this.cloudSalePrice = cloudSalePrice;
	}

	public Integer getYear() {
		return year;
	}

	public void setYear(Integer year) {
		this.year = year;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getResult() {
		return result;
	}

	public void setResult(String result) {
		this.result = result;
	}

	public Integer getBelongLibrary() {
		return belongLibrary;
	}

	public void setBelongLibrary(Integer belongLibrary) {
		this.belongLibrary = belongLibrary;
	}

	public AddCenterPriceReqVo() {
		super();
	}

	public AddCenterPriceReqVo(String centerId, String centerName, String resCategoryId, String resCategoryName, Integer isContinuous,
			Integer mirrorSaleType, String mirrorSalePrice, Integer cloudSaleType, String cloudSalePrice, Integer year, String userId,
			String userName, String result, Integer belongLibrary) {
		super();
		this.centerId = centerId;
		this.centerName = centerName;
		this.resCategoryId = resCategoryId;
		this.resCategoryName = resCategoryName;
		this.isContinuous = isContinuous;
		this.mirrorSaleType = mirrorSaleType;
		this.mirrorSalePrice = mirrorSalePrice;
		this.cloudSaleType = cloudSaleType;
		this.cloudSalePrice = cloudSalePrice;
		this.year = year;
		this.userId = userId;
		this.userName = userName;
		this.result = result;
		this.belongLibrary = belongLibrary;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((belongLibrary == null) ? 0 : belongLibrary.hashCode());
		result = prime * result + ((centerId == null) ? 0 : centerId.hashCode());
		result = prime * result + ((centerName == null) ? 0 : centerName.hashCode());
		result = prime * result + ((cloudSalePrice == null) ? 0 : cloudSalePrice.hashCode());
		result = prime * result + ((cloudSaleType == null) ? 0 : cloudSaleType.hashCode());
		result = prime * result + ((isContinuous == null) ? 0 : isContinuous.hashCode());
		result = prime * result + ((mirrorSalePrice == null) ? 0 : mirrorSalePrice.hashCode());
		result = prime * result + ((mirrorSaleType == null) ? 0 : mirrorSaleType.hashCode());
		result = prime * result + ((resCategoryId == null) ? 0 : resCategoryId.hashCode());
		result = prime * result + ((resCategoryName == null) ? 0 : resCategoryName.hashCode());
		result = prime * result + ((this.result == null) ? 0 : this.result.hashCode());
		result = prime * result + ((userId == null) ? 0 : userId.hashCode());
		result = prime * result + ((userName == null) ? 0 : userName.hashCode());
		result = prime * result + ((year == null) ? 0 : year.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		AddCenterPriceReqVo other = (AddCenterPriceReqVo) obj;
		if (belongLibrary == null) {
			if (other.belongLibrary != null)
				return false;
		} else if (!belongLibrary.equals( other.belongLibrary ))
			return false;
		if (centerId == null) {
			if (other.centerId != null)
				return false;
		} else if (!centerId.equals( other.centerId ))
			return false;
		if (centerName == null) {
			if (other.centerName != null)
				return false;
		} else if (!centerName.equals( other.centerName ))
			return false;
		if (cloudSalePrice == null) {
			if (other.cloudSalePrice != null)
				return false;
		} else if (!cloudSalePrice.equals( other.cloudSalePrice ))
			return false;
		if (cloudSaleType == null) {
			if (other.cloudSaleType != null)
				return false;
		} else if (!cloudSaleType.equals( other.cloudSaleType ))
			return false;
		if (isContinuous == null) {
			if (other.isContinuous != null)
				return false;
		} else if (!isContinuous.equals( other.isContinuous ))
			return false;
		if (mirrorSalePrice == null) {
			if (other.mirrorSalePrice != null)
				return false;
		} else if (!mirrorSalePrice.equals( other.mirrorSalePrice ))
			return false;
		if (mirrorSaleType == null) {
			if (other.mirrorSaleType != null)
				return false;
		} else if (!mirrorSaleType.equals( other.mirrorSaleType ))
			return false;
		if (resCategoryId == null) {
			if (other.resCategoryId != null)
				return false;
		} else if (!resCategoryId.equals( other.resCategoryId ))
			return false;
		if (resCategoryName == null) {
			if (other.resCategoryName != null)
				return false;
		} else if (!resCategoryName.equals( other.resCategoryName ))
			return false;
		if (result == null) {
			if (other.result != null)
				return false;
		} else if (!result.equals( other.result ))
			return false;
		if (userId == null) {
			if (other.userId != null)
				return false;
		} else if (!userId.equals( other.userId ))
			return false;
		if (userName == null) {
			if (other.userName != null)
				return false;
		} else if (!userName.equals( other.userName ))
			return false;
		if (year == null) {
			if (other.year != null)
				return false;
		} else if (!year.equals( other.year ))
			return false;
		return true;
	}

	@Override
	public String toString() {
		return "AddCenterPriceReqVo [centerId=" + centerId + ", centerName=" + centerName + ", resCategoryId=" + resCategoryId + ", resCategoryName="
				+ resCategoryName + ", isContinuous=" + isContinuous + ", mirrorSaleType=" + mirrorSaleType + ", mirrorSalePrice=" + mirrorSalePrice
				+ ", cloudSaleType=" + cloudSaleType + ", cloudSalePrice=" + cloudSalePrice + ", year=" + year + ", userId=" + userId + ", userName="
				+ userName + ", result=" + result + ", belongLibrary=" + belongLibrary + "]";
	}
}
